<!DOCTYPE html>
<html>
<head>
	<title></title>
	<script type="text/javascript">
		var n1=prompt('请输入一个三位数');
		var n_3=n1%10;
		var n_2=(n1%100-n_3)/10;
		var n_1=parseInt(n1/100);
		console.log(n_3,n_2,n_1);
	</script>
</head>
<body>

</body>
</html>